/* 
 * File:   Clock.h
 * Author: joao
 *
 * Created on November 24, 2010, 5:50 PM
 */

#ifndef _CLOCK_H
#define	_CLOCK_H

#include <QtGui>
#include "ui_Clock.h"

#include <phonon/mediaobject.h>

 


#include <iostream>

using namespace std;

class Clock : public QDialog {
    Q_OBJECT
public:
    Clock();
    virtual ~Clock();

private slots :
    void incrementMinutes();
    void decrementMinutes();
    void startClock();
    void resetClock();

private:
    Ui::Clock widget;
    QTimer *timer;
    Phonon::MediaObject *music;
    
    
};

#endif	/* _CLOCK_H */
